When I go to my localhost, I get a big error message with a type error at the end saying "TypeError: 'ResultSet' object is not callable"
What is wrong with my code? How can I get the headlines to be displayed on the localhost?
Thanks a lot
You must be logged in to post. Please login or register an account.
Have you tried just simply printing the source code that you grab? So before you actually use beautiful soup and all, just print out page.content, and see what the content is. If it's different, that's a start to debugging. If not, I am not really sure what more it would be. Since you say you are running from localhost, I cannot imagine what would be different though.
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.